package com.itheima.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 树型控件返回的类型
 */
public class TreeResult implements Serializable {
    private Integer id;
    private String name;
    private List<TreeResult> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<TreeResult> getChildren() {
        return children;
    }

    public void setChildren(List<TreeResult> children) {
        this.children = children;
    }
}
